2015-03-17 - 17940 - Service Request - Invoice Printing Error (Dan By 2015-03-20) #ABAPFORMS #invoices #Billing

2015-03-17 - 17940 - Service Request - Invoice Printing Error

Problem Summary


When printing certain sales orders, the invoice output (ZRD0) causes a short dump.

Admin Info



Purpose
Getting Invoice Printing Error for output ZRD0
Requested by
Daniel Brennan
Issue Date
03/13/2015
Resolved by
Siba/Karthik
Resolved Date
03/16/2015
Document Status
Complete

Detailed Problem Description

(Include Screen Shots if required )

When printing certain sales orders, the invoice output (ZRD0) causes a short dump.

Here is the invoice - 92454661 from NEP. And below is the screen shot of the error dump.

ZRD0_E1.JPG

ZRD0_E2.JPG

Solution Analysis and Recommendations

(Include Screen Shots if required)


While printing the invoice form which is using the ZRD0 output, form - ZLB_BIL_INVOICE_NA. There was some issue in conversion of values from one field to another field, to avoid this, it is required to change the data type for the corresponding fields which cause error.

Changes required to make in both Print form - ZLB_BIL_INVOICE_NA and Email form - ZLB_BIL_INVOICE_NA_WO_DUPLEX.

Resolution


To solve the conversion issue it is required to change the code to convert the values without any inconsistency.


Below screen shots describes the value of one field moved to another fields without any conversion error.

Below are the code changes made in the ZRDO - Print Smartform - ZLB_BIL_INVOICE_NA
ZRD0_NEW CODE.JPG

ZRD0_NEW CODE2.JPG



Below is the code changes made in the ZRDO - Email Smartform - ZLB_BIL_INVOICE_NA_WO_DUPLEX
ZRD0_Email.JPG

Release Information


Provide link here to Release Notes if Technical Objects were changed

SD - Siba - Karthik - 2015-03-17 - 17940 - Rel Notes - Invoice Printing Error